package com.qn.visitor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qn.common.base.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@Data
@Tag(name="访客事件（内嵌SDK方式实现）")
@TableName("visitor_event_record")
public class VisitorEventRecord extends BaseEntity {
    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    public Integer id;
    @Schema(description = "访客记录ID")
    private Integer vId;
    @Schema(description = "事件ID")
    private Integer eId;
    @Schema(description = "域名")
    private String host;
    @Schema(description = "访问路径")
    private String path;
    @Schema(description = "用户指纹")
    private String ckf;
    @Schema(description = "JA4指纹")
    private String ja4;
    @Schema(description = "JA4指纹")
    private String h2;
    @Schema(description = "ip4地址")
    private String ip4;
    @Schema(description =  "创建时间")
    public Date newTime;
}
